package com.currency.admin.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.currency.common.base.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典数据表
 * </p>
 *
 * @author Lan
 * @since 2021-12-10
 */
@Data
@Accessors(chain = true)
@TableName("sys_dict_item")
@ApiModel(value = "SysDictItem对象", description = "字典数据表")
public class SysDictItem extends BaseEntity {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("字典项名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("字典项值")
    @TableField("value")
    private String value;

    @ApiModelProperty("字典编码")
    @TableField("dict_code")
    private String dictCode;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("状态（0 停用 1正常）")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty("是否默认（0否 1是）")
    @TableField("defaulted")
    private Boolean defaulted;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;


}
